package com.vanke.devops.domain.manager.dingding.bean;

import lombok.Getter;
import lombok.Setter;

/**
 * @author 陈景阳
 * @since 2018/6/6
 */
@Getter
@Setter
public class LinkMsg {

    private String msgtype = "link";

    private Link link;

    @Getter
    @Setter
    public static class Link{
        private String text;
        private String title;
        private String picUrl;
        private String messageUrl;
    }

    public LinkMsg(Link link) {
        this.link = link;
    }

    public LinkMsg() {}
}
